package simple.entity;

import org.nutz.dao.entity.annotation.*;
import simple.common.BaseEntity;

@Table("tbl_user")
public class UserEntity extends BaseEntity {

    @Column(hump = true)
    private String loginName;
    @Column(hump = true)
    private String realName;
    @Column(hump = true)
    private String password;
    @Column(hump = true)
    private String remark;

    public UserEntity() {
    }

    public UserEntity(String id, String loginName, String realName, String password) {
        this.id = id;
        this.loginName = loginName;
        this.realName = realName;
        this.password = password;
    }

    public UserEntity(String loginName, String realName, String password) {
        this.loginName = loginName;
        this.realName = realName;
        this.password = password;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

}
